//
//  WSJObserveNewChatTool.h
//  WCN
//
//  Created by wsj2015 on 16/7/6.
//  Copyright © 2016年 ShanghaiCize Trade And Business Co., Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>
@class XHMessage;

@interface WSJObserveNewChatTool : NSObject



HMSingletonH(ObserveTool)
/**
 *  本地通知来自微信消息,当程序在为杀死状态通知被点击进入app时的操作
 *
 *  @param application   <#application description#>
 *  @param launchOptions <#launchOptions description#>
 */
+ (void)chatMessageWithApplication:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;

/**
 *  发送媒体消息 给通知后台 发给微信端
 *
 *  @param complelte <#complelte description#>
 *  @param fail      <#fail description#>
 */
- (void)sendAmessageToServerWithMessage:(XHMessage *)message
                                mediaId:(NSString *)mediaId
                           thumbMediaId:(NSString *)thumbMediaId
                              complelte:(void (^)(id responseObject))complelte
                                   fail:(void (^)(id errmesg))fail;
@end
